<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div align="center">
			Bonjour <c:out value="${user.lastName}"/> 
			<dt>Votre adresse est: <c:out value="${user.adress}"/></dt>
		</div>
		<h3>User</h3>
	<c:if test="${!empty userList}">
		<table class="data">
			<tr>
				<th>Name</th>
				<th>Email</th>
				<th>Telephone</th>
				<th>&nbsp;</th>
			</tr>
			<c:forEach items="${userList}" var="contact">
				<tr>
					<td>${user.lastname},${user.firstname}</td>
					<td>${user.email}</td>
					<td>${user.adress}</td>
					<td><a href="delete/${user.id}">delete</a></td>
				</tr>
			</c:forEach>
		</table>
	</c:if>

</body>
</html>